package com.zyj.eps.mapper;

import com.zyj.eps.pojo.Goods;
import com.zyj.eps.pojo.Record;
import org.apache.ibatis.annotations.Param;

import javax.xml.crypto.Data;
import java.util.List;

/**
 * @author super
 * @date 2022/4/2 13:40
 */
public interface GoodsMapper {
    List<Goods> getAllGoods();
    Goods getGoodsByName(String goodsname);
    int updateGoods(Goods goods);
    int insertGoodsApplyInfo(@Param("uid") int uid,@Param("uname") String uname,@Param("goodsname") String goodsname,@Param("recordtime") String recordtime,@Param("num") int num);
    List<Integer> getAllNum();
    List<Record> getAllRecordById(int uid);
}
